package com.example.hxds.dr.service;


import com.example.hxds.common.util.PageUtils;

import java.util.HashMap;
import java.util.Map;

public interface DriverService {
    public String registerNewDriver(Map<String,Object> param);

    public int updateDriverAuth(Map param);

    /**
     * 创建脸部模型
     *
     * @param driverId
     * @param photo
     * @return
     */
    public String createDriverFaceModel(long driverId, String photo);

    HashMap login(String code, String phoneCode);

    public HashMap searchDriverBaseInfo(long driverId);

    public HashMap searchDriverAuth(long driverId);

    public HashMap searchDriverRealSummary(long driverId);

    public int updateDriverRealAuth(Map param);

    public HashMap searchDriverBriefInfo(long driverId);

    public String searchDriverOpenId(long driverId);

    public PageUtils searchDriverByPage(Map param);

}
